html{
    font-size:26.666667vw;
    width: 100vw;
    height: 100vh;
}
body{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
/* 为移动端适配
@media screen  and (max-width:400px) and (min-height:420px){
    html{
        display: none;
    }
} */

header{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 0.46rem;
    line-height: 0.46rem;
    text-align: center;
    font-size: 0.24rem;
    background: #EE30A7;
    color: #fff;
}
.search-wrap{
    width: 3.75rem;
    height: 0.46rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.search-wrap .a1{
    display: inline-block;
    width: 0.5rem;
    height: 0.3rem;
    background: url(./img/search1.png) no-repeat center;
    background-size: 0.22rem auto
}
.search-wrap form{
    display: flex;
    flex-direction: row;
}
.search-wrap form input{
    width: 2.35rem;
    height: 0.3rem;
    padding-left: 0.3rem;
    background: #eee url(./img/search2.png) no-repeat 0.07rem center;
    background-size: 0.15rem auto;
    border: none;
    border-radius: 0.03rem;
    font-size: 0.12rem;
    color: #999;
}
.search-wrap .a2{
    width: 0.5rem;
    height: 0.3rem;
    background: url(./img/search3.png) no-repeat center;
    background-size: 0.22rem auto;
    text-decoration: none;
}
.swiper-box{
    width: 3.75rem;
    height: 1.29rem;
}
/* 轮播图 */
.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-wrapper .swiper-a{
    display: block;
}
.swiper-wrapper .swiper-a img{
    width: 3.75rem;
    height: 1.29rem;
}


/* 内容区域 */
section{
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: auto;
    background: #f1f1f1;
    padding: 0.05rem;
}
.content{
    width: 1.74rem;
    height: 4rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    margin: 0 0.042rem 0.1rem 0.042rem;
    border-radius: 0.05rem;
}
.content .content-a1{
    display: block;
}
.content .content-a1 .content-img1{
    display: block;
    width: 1.74rem;
    height: 2.61rem;
}
.content .product_name{
    width: 1.62rem;
    height: 0.24rem;
    line-height: 0.24rem;
    font-size: 0.18rem;
    color: #666;
    margin: 0.07rem 0 0.07rem 0.06rem;
}
.content .product_price{
    width: 1.62rem;
    height: 0.24rem;
    line-height: 0.24rem;
    font-size: 0.24rem;
    color: red;
    margin: 0.07rem 0 0.07rem  0.06rem;
}
.content #form{
    width: 1.62rem;
    height: 0.36rem;
    display: flex;
    justify-content: space-around;
    margin:0.07rem 0 0.07rem 0;
}
.content #star{
    width: 0.5rem;
    height: 0.36rem;
    line-height: 0.36rem;
    font-size: 0.18rem;
    color: #fff;
    border-radius: 0.05rem;
    text-align: center;
    background: #EE30A7;
}
.content #buy{
    width: 0.8rem;
    height: 0.36rem;
    line-height: 0.36rem;
    font-size: 0.18rem;
    color: #fff;
    border-radius: 0.05rem;
    text-align: center;
    background: #EE30A7;
}
/* 底部板块 */
footer{
    display: flex;
    box-sizing: border-box;
    border-top: .01rem solid #d9d9d9;
    height: 0.5rem;
    flex-direction: row;
    justify-content:center;
    align-items: center;
    background: #EE30A7;
}
footer a{
    display: block;
    height: 0.5rem;
    line-height: 0.5rem;
    font-size: 0.18rem;
    text-align: center;
    color: #fff;
    background: #EE30A7;
    margin: 0 0.15rem;
}
